#!/usr/bin/evn python
# -*- coding: UTF-8 -*-
# @File: diemiao_page.py
# @Author: fy
# @date: 2021/10/21 14:57
from pages.base_page import BasePage
from appium.webdriver.common.mobileby import MobileBy

from pages.gototask_page import GotoTaskPage


class DieMiaoPage(BasePage):

    def click_zhuanmiaotang(self):
        zhuanmiaotang_locator = (MobileBy.XPATH, '//*[contains(@text, "赚喵糖")]')
        self.find_and_click(zhuanmiaotang_locator)
        return GotoTaskPage(self.driver)

    def click_quwancheng(self):
        '''
        做任务 赚喵糖 页
        :return:
        '''